<?php
/* 
 * Copyright (c) 2018-2021   All rights reserved.
 *
 * 创建时间：2021-11-03 14:48:29
 *
 * 项目：/levfm  -  $  - form_setup.php
 *
 * 作者：AUTO GENERATE
 */

?>


<div class="page page-formb">
    <?php Lev::toolbarAdmin(1); ?>

    <div class="navbar page-admin-navbar adminbar navbar-bgcolor-red">
        <div class="navbar-inner">
            <div class="left scale9 transl">
                <a class="link tooltip-init" href="javascript:window.history.back();" data-tooltip="后退">
                    <svg class="icon" aria-hidden="true"><use xlink:href="#fa-back"></use></svg>
                </a>
                <a class="link tooltip-init" href="javascript:window.location.reload();" data-tooltip="刷新">
                    <svg class="icon" aria-hidden="true"><use xlink:href="#fa-refresh"></use></svg>
                </a>
                <a class="link" target="_top" href="<?=\modules\levfm\helpers\UrlfmHelper::lists($formInfo['id'])?>">
                    <svg class="icon" aria-hidden="true"><use xlink:href="#fa-list"></use></svg>
                </a>
                <a class="link">
                    <label for="dosubmit">
                        <svg class="icon" aria-hidden="true"><use xlink:href="#fa-save"></use></svg>
                    </label>
                </a>
            </div>
            <div class="title">
                <?php echo Lev::$app['title']?>
                <tips class="date inblk" style="color:yellow !important;"><?=$inputsValues['srhkey']?></tips>
            </div>
            <div class="right">
                <?php if (Lev::GETv('ziframescreen')):?>
                <a class="popupFullBtn link icon-only">
                    <svg class="icon" aria-hidden="true"><use xlink:href="#fa-datac"></use></svg>
                </a>
                <?php endif;?>
            </div>

        </div>
    </div>

    <div class="page-content">
        <div class="page-content-inner" style="max-width:1440px">
            <?=$headerHtm?>

            <?php if (isset($setupDesc) && count($setupDesc) >1):?>
        <div class="card">
            <div class="card-content-inner buttons-row setups setupsBox" opid="<?=$opid?>">
                <?php foreach ($setupDesc as $k => $name):?>
                    <a class="button <?=$k==$setup ? 'active animated shake' : 'color-gray'?>" href="<?=Lev::toCurrent(['setup'=>$k])?>"><?=$name?></a>
                <?php endforeach;?>
            </div>
        </div>
            <?php endif;?>

        <div class="form-mainb" style="min-width: 660px">
            <form id="saveForm" class="card" action="" method="post">

                <?php echo \modules\levfm\widgets\inputs\inputsFormWidget::form($inputs, $inputsValues, $formPre, $formInfo);?>

                <?php echo \modules\levfm\widgets\inputs\inputsFormWidget::form($commonInputs, $inputsValues, $formPre, $formInfo);?>

                <?php echo \modules\levfm\widgets\inputs\inputsFormWidget::form($extInputs, [], '', $formInfo);?>

                <?=$footerFormInnerHtm?>

                <div class="card-footer">
                    <div class="flex-box">
                    <button type="submit" id="dosubmit" class="button-fill button wd100 dosaveFormBtn">
                        <svg class="icon" aria-hidden="true"><use xlink:href="#fa-save"></use></svg>
                        保 存
                    </button>
                    </div>
                </div>
            </form>
        </div>

            <?=$footerHtm?>
        </div>
    </div>


<div class="settings___listShowFields-box hiddenx"><?=$formInfo['settings___listShowFields']?></div>

</div>


